package com.woniu.secondhand.constant;

/**
 * @Title
 * @Author 武术有栖
 * @Description:
 */
public class SecondhandOrderConstant {

    public static final byte SYSTEM_MESSAGE = 0;

    public static final String INTERFACE_REPEAT = "SecondhandRepeat:";
    public static final String HEADER_TOKEN = "repeat_token:";
    public static final String HEADER_TOKEN_NAME = "repeat_token";


    public final static String ORDER_EXCHANGE = "order_exchange";
    public final static String DLQ_ORDER_EXCHANGE = "dlq_order_exchange";
    public final static String ORDER_QUEUE = "order_queue";
    public final static String DLQ_ORDER_QUEUE = "dlq_order_queue";
    public final static String ROUTING_KEY = "order_timeout";

    public final static Byte PENDING_PAYMENT = 0;
    public final static Byte BUY_SUCCESS = 1;
    public final static Byte DELIVER_SUCCESS = 2;
    public final static Byte RECEIVE_SUCCESS = 3;
    public final static Byte COMMENT_SUCCESS = 4;
    public final static Byte CLOSED_ORDER = 5;
    public final static Byte INVALID_ORDER = 6;

    public final static Integer UNPAID = 0;
    public final static Integer ALI_PAY = 1;
    public final static Integer WECHAT_PAY = 2;

    public final static Integer PC_PAY = 0;
    public final static Integer APP_PAY = 1;

    public final static Integer AUTO_CONFIRM_DAY = 15;

    public final static Integer UN_CONFIRM = 0;
    public final static Integer CONFIRMED = 1;

    public static final Integer UN_DELETED = 0;
    public static final Integer DELETED = 1;

    public static final String RETURN_URL = "https://localhost:8051/seconhand/return_url";
    public static final String NOTIFY_URL = "https://localhost:8051/seconhand/notify_url";
}
